@import '~iview/src/styles/index.less';
@primary-color: #EA6065;
@menu-dark-title: #3D3C3C;
@menu-dark-active-bg: #000c17;
@layout-sider-background: #3D3C3C;

.clearfix {
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}

.clearfix:after {
    clear: both;
}

main {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

html,
body {
    overflow: unset;
}

.ivu-btn-default {
    color: #EA6065 !important;
}

.ivu-page .ivu-page-item {
    width: auto !important;
}

.ivu-message {
    z-index: 2000 !important;
}

.notice_dot {
    .ivu-badge-dot {
        top: 0px !important;
        margin-top: 15px !important;
    }
}

.msg_dot {
    .ivu-badge-dot {
        top: 0px !important;
        right: -11px !important;
    }
}

.ivu-badge-count {
    top: 0px !important;
    margin-top: 6px !important;
    width: 23px !important;
    height: 15px !important;
    min-height: 15px !important;
    line-height: 15px !important;
    padding: 0 3px !important;
}

.one-line {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}

.admin_title {
    color: #333333;
    font-size: 20px;
    font-weight: bolder;
    position: relative;
    padding-left: 16px;
    margin: 16px 0;

    &:before {
        position: absolute;
        width: 4px;
        height: 21px;
        background: #EA6065;
        display: block;
        content: '';
        left: 0;
        top: 5px;
    }
}

.ivu-drawer-right {
    margin-top: 45px !important;
}

.goods_modal {
    .ivu-modal-header {
        background: #FAFBFC;

        .ivu-modal-header-inner {
            font-size: 15px;
            color: #353535;
            font-weight: normal;
        }
    }

    .ivu-form-item-label {
        font-size: 14px !important;
        text-align: left !important;
    }

    .ivu-modal-footer {
        display: none;
    }

    .ivu-input-wrapper {
        .ivu-input {
            border-radius: 0;
        }
    }

    .ivu-modal-body {
        padding: 18px 30px;
    }

    .ivu-modal-content {
        border-radius: 0;
        z-index: 2000 !important;
    }

    .ivu-radio-wrapper {
        margin-right: 18px;
    }

    .btns {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        background: #FAFBFC;
        padding: 15px;

        .ivu-btn {
            width: 90px;
            height: 35px;
            font-size: 14px;
            border-radius: 0;
        }
    }
}

.answer_modal {
    .ivu-modal-footer {
        display: none;
    }

    .ivu-modal-content {
        border-radius: 0;
    }
}

.answer_modal_edit {
    .ivu-form-item-label {
        font-size: 14px !important;
        text-align: left !important;
    }

    .ivu-modal-footer {
        display: none;
    }

    .ivu-modal-content {
        border-radius: 0;
    }
}

.live_wrapper {
    .ivu-cascader .ivu-input {
        font-size: 14px;
        height: 34px;
        line-height: 32px;
    }

    .ivu-select-selection {
        border: 1px solid #DCDCDC;
        height: 34px;
        line-height: 32px;
    }

    .ivu-select-single .ivu-select-selection .ivu-select-placeholder {
        height: 34px;
        line-height: 32px;
        font-size: 14px;
    }

    .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
        height: 34px;
        line-height: 32px;
        font-size: 14px;
    }

    .ivu-input-group .ivu-input {
        border: 1px solid #DCDCDC;
        height: 34px;
        line-height: 32px;
        font-size: 14px;
    }

    .ivu-date-picker {
        .ivu-input {
            border: 1px solid #DCDCDC;
            height: 34px;
            line-height: 32px;
            font-size: 14px;
        }
    }
}

.table_pattern {
    .ivu-table-wrapper {
        border: 0;

        .ivu-table {
            &:before {
                background-color: #F5F7FA;
            }

            &:after {
                width: 0;
            }

            th {
                background-color: #F5F7FA;
                border-bottom: 1px solid #F5F7FA;

                span {
                    font-size: 15px;
                    font-weight: normal;
                }
            }
        }

        .ivu-table-body {
            .ivu-table-cell {
                strong {
                    font-size: 14px;
                    font-weight: normal;
                }
            }

            td {
                font-size: 14px;
                border-bottom: 1px solid #F5F7FA;
            }

            button {
                &:focus {
                    box-shadow: none;
                }

                span {
                    transition: 0.2s;

                    &:hover {
                        opacity: 0.8;
                    }
                }
            }
        }
    }
}

.table_pattern2 {
    .ivu-table {
        th {
            height: 50px;
        }
    }
}

.live_cover {
    .demo-upload-list-cover {
        i {
            margin: 46px 6px;
        }
    }

    .no_pic {
        background: #F7F8F9;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 150px;
        height: 112px;
    }
}

.ivu-page {

    .ivu-page-prev,
    .ivu-page-next,
    .ivu-page-item-jump-prev,
    .ivu-page-item-jump-next {
        width: 26px;
        height: 26px;
        line-height: 24px;
        min-width: 26px;
    }

    .ivu-page-item {
        width: 26px;
        height: 26px;
        min-width: 26px;
        line-height: 24px;
    }

    .ivu-page-options-elevator {
        line-height: 31px;

        input {
            height: 26px;
        }
    }
}

.needCover {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.public_modal_header {
    .ivu-modal-header {
        background: #FAFBFC;

        .ivu-modal-header-inner {
            font-size: 16px;
            font-weight: normal;
        }
    }
}

.edit_modal {
    .ivu-modal-content {
        border-radius: 0;
    }

    .ivu-form-item-label {
        font-size: 14px !important;
        text-align: left !important;
    }

    .ivu-modal-footer {
        display: none;
    }

    .ivu-input-wrapper {
        .ivu-input {
            border-radius: 0;
        }
    }

    .ivu-modal-body {
        padding: 0;
    }

    .btns {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        background: #FAFBFC;
        padding: 15px;

        .ivu-btn {
            width: 90px;
            height: 35px;
            font-size: 14px;
            border-radius: 0;
        }
    }
}

.shop_modal {
    .no_shop_list {
        .no1 {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            padding-top: 90px;

            img {
                width: 72px;
            }

            span {
                color: #B2B2B2;
                font-size: 14px;
                display: block;
                margin-top: 5px;
            }
        }

        .no2 {
            text-align: center;
            margin-top: 23px;
            margin-bottom: 90px;

            &>.ivu-btn {
                width: 90px;
                height: 35px;
                background: rgba(43, 118, 238, 1);
                border-radius: 2px;
                font-size: 14px;
            }
        }
    }

    .ivu-modal {
        width: 800px !important;

        .ivu-modal-header {
            background: #FAFBFC;

            .ivu-modal-header-inner {
                font-size: 16px;
                color: #353535;
                font-weight: normal;
            }
        }

        .ivu-modal-body {
            padding: 0;
        }

        .ivu-modal-footer {
            display: none;
        }

        .ivu-modal-content {
            border-radius: 0;
        }

        .shop_btm {
            background: #FAFBFC;
            text-align: center;
            padding-top: 15px;
            padding-bottom: 15px;

            .ivu-btn {
                width: 90px;
                height: 35px;
                border-radius: 0;

                &:nth-of-type(1) {
                    margin-right: 15px;
                }

                span {
                    font-size: 14px;
                }
            }
        }
    }
}

.shop_title {
        background: #F5F7FA;
        padding-left: 10%;

        span {
            width: 15%;
            color: #353535;
            font-size: 16px;
            display: inline-block;
            text-align: center;
            height: 40px;
            line-height: 40px;
            &:first-of-type {
                width: 40%;
            }
        }
    }

    .shop_desc {
        position: relative;
        width: 100%;
        border-bottom: 1px solid #F5F7FA;

        .ivu-radio,
        .ivu-checkbox {
            position: absolute;
            left: 7%;
            top: 50%;
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
            transform: translateY(-50%);
        }

        .clearfix;
        padding-left: 10%;

        p {
            width: 15%;
            height: 50px;
            line-height: 50px;
            text-align: center;
            float: left;
            color: #353535;
            font-size: 16px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            &:first-of-type {
                width: 40%;
            }
        }
    }

.user_wrapper {
    background: #F0F9FF;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    .user_title_wrapper {
        width: 70%;
        margin: 0 auto;
        padding-top: 92px;
        margin-bottom: 60px;
        .clearfix;

        .ut_select {
            span {
                color: #2B313C;
                font-size: 22px;
                border-bottom: 4px solid #EA6065;
                padding-bottom: 10px;
            }
        }

        .ut {
            width: 50%;
            text-align: center;
            float: left;
            cursor: pointer;

            span {
                color: #787B81;
                font-size: 22px;
            }
        }
    }

    .u0 {
        background: #fff;
        height: 529px;
        overflow: hidden;

        .u1 {
            width: 400px;
            float: left;

            img {
                -o-object-fit: cover;
                object-fit: cover;
                object-position: center;
            }
        }

        .u2 {
            height: 529px;
            width: 529px;
            float: left;
            position: relative;

            .go_back {
                position: absolute;
                left: 30px;
                top: 30px;
                cursor: pointer;
            }

            .ivu-checkbox-wrapper {
                color: #959595;
                font-size: 14px;
            }

            .forget {
                color: #959595;
                font-size: 14px;
                float: right;

                span {
                    cursor: pointer;
                    transition: 0.2s;

                    &:hover {
                        color: #EA6065;
                    }

                    &:nth-of-type(1) {
                        border-right: 2px solid #afafaf;
                        padding-right: 10px;
                        margin-right: 10px;
                    }
                }
            }

            .ivu-form-item {
                margin-bottom: 20px;
            }

            .tip {
                color: #9E9E9E;
                font-size: 14px;
            }

            .ivu-input {
                font-size: 14px;
                border-radius: 0;
                height: 35px;
                line-height: 35px;
            }

            .pass {
                .ivu-input {
                    height: 38px;
                    line-height: 38px;
                }
            }

            .ivu-btn {
                border-radius: 0;
                font-size: 14px;
                height: 35px;
            }

            .user_title {
                text-align: center;
                padding-top: 22px;
                margin-bottom: 20px;

                span {
                    color: #2B313C;
                    font-size: 24px;
                    border-bottom: 4px solid #EA6065;
                    padding-bottom: 5px;
                }
            }
        }
    }
}

.label_required {
    .ivu-form-item-label {
        position: relative;

        &:after {
            position: absolute;
            content: '*';
            color: red;
            display: block;
            right: 95px;
            top: 11px;
            font-size: 16px;
        }
    }
}

.label_required2 {
    .ivu-form-item-label {
        position: relative;

        &:after {
            position: absolute;
            content: '*';
            color: red;
            display: block;
            right: 95px;
            top: 11px;
            font-size: 16px;
        }
    }
}

#no_icon_side_wrapper {
    &>ul {
        &>li {
            background: none;

            .ivu-menu-submenu-title {}
        }
    }
}